#pragma once
#include "Cocos2d.h"

using namespace cocos2d;
class ExitLayer : public Layer
{
public:
	ExitLayer();
	~ExitLayer();
	virtual bool init();
	virtual void onEnter();
	void showExitLayer();
	void Back();

	CREATE_FUNC(ExitLayer);
private:
	void Exit();
	LayerColor* BackColor = nullptr;
	bool callBack();
	EventListenerTouchOneByOne* _listener;
};

